﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Events {
    import flash.events.*;
    import Classes.*;

    public class QuestEvent extends Event {

        public static const COMPLETED:String = "quest_completed";
        public static const EXPIRED:String = "quest_expired";
        public static const PROGRESS:String = "quest_progress";

        private var m_quest:Quest = null;
        private var m_taskCompleted:int = -1;

        public function QuestEvent(_arg1:String, _arg2:Quest=null, _arg3:Boolean=false, _arg4:Boolean=false){
            super(_arg1, _arg3, _arg4);
            this.m_quest = _arg2;
        }
        public function get quest():Quest{
            return (this.m_quest);
        }
        public function set taskCompleted(_arg1:int):void{
            this.m_taskCompleted = _arg1;
        }
        public function get taskCompleted():int{
            return (this.m_taskCompleted);
        }

    }
}//package Events 
